local Class = require('lua.lang.Class')
local ExpressionDescriptor = require('lua.vm.compiler.ExpressionDescriptor')

--- @class TableConstructorControl : Class
--- @field valueExpression ExpressionDescriptor
--- @field tableExpression ExpressionDescriptor
--- @field listElementCount number
--- @field recordElementCount number
--- @field pendingStoreCount number
local TableConstructorControl = Class {}

--- @constructor
--- @return TableConstructorControl
function TableConstructorControl:new()
	--- @type TableConstructorControl
	local o = {}
	o.valueExpression = ExpressionDescriptor:new()
	o.listElementCount = 0
	o.recordElementCount = 0
	o.pendingStoreCount = 0
	return setmetatable(o, TableConstructorControl)
end

return TableConstructorControl